#@web_layout?()
#define css()
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/layer.css?#(getUUID())" />
<link rel="stylesheet" type="text/css" href="#(contextPath)/assets/front/web/css/index.css?#(getUUID())" />
#end
#define content()
<div class="c-login aui-content">
    <div class="g-panel">
        <div class="m-title"></div>
        <div class="m-box">
            <div class="u-field">
                <div class="u-field-icon f-icon-phone"></div>
                <input type="text" name="mobile" class="u-field-input" placeholder="请输入手机号" maxlength="11"/>
            </div>
            <div class="u-field">
                <div class="u-field-icon f-icon-authcode"></div>
                <input type="text" name="authCode" class="u-field-input u-field-input-auth" placeholder="请输入验证码" maxlength="11"/>
                <input type="button" class="u-field-send" onclick="sendSms()" style="border:none" id="authCode" value="获取验证码">
            </div>
            <div class="u-field">
                <div class="u-field-icon f-icon-password"></div>
                <input type="password" name="password" class="u-field-input" placeholder="请输入密码" maxlength="32"/>
            </div>
            <div class="u-field">
                <div class="u-field-icon f-icon-password"></div>
                <input type="password" name="passwordCheck" class="u-field-input" placeholder="请确认密码" maxlength="32"/>
            </div>
            <div class="u-agree">
                <input type="checkbox" id="agree" class="u-agree-box" />
                <span class="u-agree-text">我同意</span>
                <a class="u-agree-link" href="#(contextPath)/c/agreement" target="_blank">隐私协议</a>
                <span class="u-agree-text">和</span>
                <a class="u-agree-link" href="#(contextPath)/c/agreement" target="_blank">服务声明</a>
            </div>
            <div class="u-btn" onclick="reg()">
                <div class="u-btn-register"></div>
            </div>
            <a style="color:grey" href="#(contextPath)/c" >已有账号，立即登录</a>
        </div>
    </div>
</div>
#end
#define script()
<script type="text/javascript">
    var ctx="#(contextPath)";
</script>
<script src="#(contextPath)/assets/front/web/script/layer.js"></script>
<script src="#(contextPath)/assets/front/web/script/validate.js"></script>
<script src="#(contextPath)/assets/front/web/script/register.js"></script>
#end